const download = require('download-git-repo')
download('direct:https://gitee.com/beiyaoyaoyao/egg-template', './xxx', { clone: true }, (err) => {
  console.log(err)
})